package com.useage.day03.dao;

import javax.annotation.PostConstruct;

import org.springframework.stereotype.Component;

@Component
public class GoodsDao {

	@PostConstruct   //自定义初始化方法
	public void abc() {
		System.out.println("init1");
	}

	@PostConstruct   //自定义初始化方法
	public void abc1() {
		System.out.println("init2");
	}
	
}
